<div class="box box-info">
  <div class="box-header with-border">
    <h3 class="box-title">股票信息</h3>
  </div>
  <!-- /.box-header -->
  <!-- form start -->
  <form class="form-horizontal">
    <div class="box-body">
      <div class="form-group">
        <label for="gpdm" class="col-sm-2 control-label">股票代码</label>

        <div class="col-sm-10">
          <input type="text" class="form-control" id="gpdm" placeholder="股票代码">
        </div>
      </div>
      <div class="form-group">
        <label for="gpmc" class="col-sm-2 control-label">股票名称</label>

        <div class="col-sm-10">
          <input type="text" class="form-control" id="gpmc" placeholder="股票名称">
        </div>
      </div>
      <div class="form-group">
        <label for="gpdj" class="col-sm-2 control-label">股票单价</label>

        <div class="col-sm-10">
          <input type="text" class="form-control" id="gpdj" placeholder="股票单价">
        </div>
      </div>
      <div class="form-group">
        <label for="gppj" class="col-sm-2 control-label">股票评级</label>

        <div class="col-sm-10" style="margin-top: 7px;">
          <app-stars [(rating)] = "stock.rating" [readOnly] = "false"></app-stars>
        </div>
      </div>
      <div class="form-group">
        <label for="gpms" class="col-sm-2 control-label">股票描述</label>

        <div class="col-sm-10">
          <textarea id="gpms" class="form-control" placeholder="股票描述"></textarea>
        </div>
      </div>
      <div class="form-group">
        <label for="gpms" class="col-sm-2 control-label">股票类别</label>
        <div class="col-sm-10">
          <div class="checkbox">
            <label>
              <input type="checkbox"><span>生物科技</span>
            </label>
            <label>
              <input type="checkbox"><span>工业</span>
            </label>
            <label>
              <input type="checkbox"><span>IT</span>
            </label>
            <label>
              <input type="checkbox"><span>金融</span>
            </label>
          </div>
        </div>
      </div>
    </div>
    <!-- /.box-body -->
    <div class="box-footer">
      <button type="submit" class="btn btn-default" (click)="cancel()">取消</button>
      <button type="submit" class="btn btn-info pull-right" (click)="save()">保存</button>
    </div>
    <!-- /.box-footer -->
  </form>
</div>
